using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class JumpLight : MonoBehaviour
{

    private void OnTriggerEnter2D(Collider2D collision)
    {
        collision.gameObject.GetComponent<Player>().CouldJumpAgain = true;
    }

    private void OnTriggerExit2D(Collider2D collision)
    {
        collision.gameObject.GetComponent<Player>().CouldJumpAgain = false;
    }

   
}
